<?php

namespace app\common\validate;

use think\Validate;

class Team extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
    	'id' => 'require',
	    'name' => 'require',
	    'weixin_code' => 'require',
	    'slogan' => 'require',
	    'image' => 'require',
	    'content' => 'require'
    ];
    /**
     * 提示消息
     */
    protected $message = [
    	'id' => '活动ID错误',
	    'name' => '战队名称不能为空',
	    'weixin_code' => '微信号不能为空',
	    'slogan' => '战队口号不能为空',
	    'image' => '风采照片不能为空',
	    'content' => '战队介绍不能为空',
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => [],
    ];
    
    
}
